﻿using CHSystemApi.DataAccess.Entities;
using CHSystemApi.Framework.AuthServices;

namespace CHSystemApi.Business
{
    public interface IPermissionBusiness : IValidate
    {
        bool AddPermission(Permission permission);

        bool AddPermissions(Permission[] permissions);

        Permission[] GetPermission(int id);

        Permission[] GetPermissions();

        Permission[] GetPermissionsByUserid(int userid);
    }
}
